package com.jec.module.sysconfig.service;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;

import com.jec.module.sysmonitor.dao.CardRepository;
import com.jec.module.sysmonitor.dao.NetUnitRepository;
import com.jec.module.sysmonitor.service.NetWorkStateService;
import com.jec.protocol.command.CommandExecutor;
import com.jec.utils.Response;

/**
 * Created by jeremyliu on 7/2/16.
 */
public abstract class DownloadService{

    @Autowired
    protected NetUnitRepository netUnitRepository;

    /*
    @Resource
    protected CardDao cardDao;
    */
    
    @Autowired
    protected CardRepository cardRepository;

    @Resource
    protected NetWorkStateService netStateService;

    protected CommandExecutor executor = new CommandExecutor();

    public abstract Response download();

    public abstract Response download(int netUnitId);
    
}
